//
// Created on 2024/10/15.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef OHOS_DEMO_OHOS_LOCAL_STREAM_H
#define OHOS_DEMO_OHOS_LOCAL_STREAM_H

#include "sdk/ohos/api/ohos_media_stream_interface.h"
#include "sdk/ohos/ohos_video_track.h"

namespace ohosrtc {
class OHOSLocalStream :public rtc::RefCountInterface{
  public:
  OHOSLocalStream(rtc::scoped_refptr<ohoswebrtc::OHOSMediaStreamInterface> media_stream);
  rtc::scoped_refptr<ohoswebrtc::OHOSMediaStreamInterface> MediaStream();
  
  private:
  rtc::scoped_refptr<ohoswebrtc::OHOSMediaStreamInterface> media_stream_;
};
} // namespace ohosrtc

#endif //OHOS_DEMO_OHOS_LOCAL_STREAM_H
